#pragma once
#include "main.h"

class SubWindow {
public:
	SubWindow(void);  // Default Constructor
#ifdef _WINDOWS
	SubWindow(HWND, HINSTANCE, DLGPROC, int, int, int, int, int);  // Main Constructor
#endif
	~SubWindow(void);  // Default Destructor

	void reshape(int x, int y, int width, int height);  // Window reshape
#ifdef _WINDOWS
	HWND window;  // window HWND
#endif
	int x;  // window's x-position
	int y;  // window's y-position
	int width;  // window's width
	int height;  // window's height
private:
#ifdef _WINDOWS
	HWND parentWindow;  // window's parent HWND
	HINSTANCE programInstance;  // hinstance of the program
#endif
};